Carbon


EraseArc

Header: Quickdraw.h Carbon status: Supported

Erases a wedge.

void EraseArc (
    const Rect *r, 
    SInt16 startAngle, 
    SInt16 arcAngle
);
Parameter descriptions
r

The rectangle that defines an oval’s boundaries.

startAngle

The angle indicating the start of the arc.

arcAngle

The angle indicating the arc’s extent.

DISCUSSION

Using the patCopy pattern mode, the EraseArc function draws a wedge of the oval bounded by the rectangle that you specify in the r parameter with the background pattern for the current graphics port. As in FrameArc, use the startAngle and arcAngle parameters to define the arc of the wedge.

This function leaves the location of the graphics pen unchanged.

SPECIAL CONSIDERATIONS

The EraseArc function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)